projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19e1a8f
)
GtkAssistant: don't hide headerbar from a11y
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 10 Apr 2014 21:22:46 +0000
(14:22 -0700)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 10 Apr 2014 21:23:39 +0000
(14:23 -0700)
GtkAssistant has its own accessible implementation, and we forgot
to update it when we added a headerbar.
gtk/gtkassistant.c
patch
|
blob
|
history
diff --git
a/gtk/gtkassistant.c
b/gtk/gtkassistant.c
index 8b997c2be035d80e0b4bda35ccf88851bd263ec8..fbd12cfef2a639697fbc14a0e6aea0595474f8b9 100644
(file)
--- a/
gtk/gtkassistant.c
+++ b/
gtk/gtkassistant.c
@@
-2425,7
+2425,7
@@
gtk_assistant_accessible_get_n_children (AtkObject *accessible)
if (widget == NULL)
return 0;
- return g_list_length (GTK_ASSISTANT (widget)->priv->pages) +
1
;
+ return g_list_length (GTK_ASSISTANT (widget)->priv->pages) +
2
;
}
static AtkObject *
@@
-2461,6
+2461,11
@@
gtk_assistant_accessible_ref_child (AtkObject *accessible,
child = priv->action_area;
title = NULL;
}
+ else if (index == n_pages + 1)
+ {
+ child = priv->headerbar;
+ title = NULL;
+ }
else
return NULL;